import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

// 变化
const mutations = {
  updateMe(state, me) {
    state.me = me;
  }
}
const state = {
  me: {}
}

export default new Vuex.Store({
  state,
  mutations
})